﻿<%@ Page Title="" Language="C#" MasterPageFile="~/styles/AdminMasterPage.master" AutoEventWireup="true" CodeFile="VideoManagement.aspx.cs" Inherits="Admin_VideoManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TopContent" Runat="Server">
    <h3 class="titleDetails">Video Management</h3>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
    <div style="width:98%;margin:0 auto;height:600px">
        <asp:GridView ID="grvw_Videos" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False" BackColor="White" 
            BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            DataKeyNames="VideoID" DataSourceID="LDS_Videos">
            <Columns>
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
                <asp:BoundField DataField="VideoID" HeaderText="VideoID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="VideoID" />
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:BoundField DataField="AlbumID" HeaderText="AlbumID" 
                    SortExpression="AlbumID" />
                <asp:BoundField DataField="GenresID" HeaderText="GenresID" 
                    SortExpression="GenresID" />
                <asp:BoundField DataField="Rating" HeaderText="Rating" 
                    SortExpression="Rating" />
                <asp:BoundField DataField="FilePath" HeaderText="FilePath" 
                    SortExpression="FilePath" />
                <asp:BoundField DataField="OGV" HeaderText="OGV" SortExpression="OGV" />
                <asp:BoundField DataField="WEBMV" HeaderText="WEBMV" SortExpression="WEBMV" />
                <asp:BoundField DataField="Poster" HeaderText="Poster" 
                    SortExpression="Poster" />
                <asp:BoundField DataField="AddDate" HeaderText="AddDate" 
                    SortExpression="AddDate" />
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>
        <asp:LinqDataSource ID="LDS_Videos" runat="server" 
            ContextTypeName="Sharemp3DataContext" EnableDelete="True" EnableInsert="True" 
            EnableUpdate="True" EntityTypeName="" TableName="VideoClips">
        </asp:LinqDataSource>
    </div>
</asp:Content>

